import request from '@/utils/request'

export function createError() {
  return request({ url: '/monitor/error', method: 'get' })
}

export function getErrors(param) {
  return request({ url: '/monitor/error', params: param, method: 'get' })
}
